import java.util.ArrayList;
import java.util.Iterator;


public class TimeSheet {
	private ArrayList<Interval> lstInterval;
	public TimeSheet () {
		lstInterval = new ArrayList<Interval>();
	}
	public void clear() {
		lstInterval.clear();
	}	
	public Iterator<Interval> iterator() {
		return lstInterval.iterator();
	}
	public int getNumberofDays() {
		return lstInterval.size();
	}
	public void addInterval(Interval in) {
		lstInterval.add(in);
	}
}
